package com.homepage.repository;

import com.homepage.domain.EmployeePortrait;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * Spring Data SQL repository for the EmployeePortrait entity.
 */
@Repository
public interface EmployeePortraitRepository extends JpaRepository<EmployeePortrait, Long> {
    Optional<EmployeePortrait> findEmployeePortraitByEmployeeId(Long employeeId);
}
